Knock sizeof(geocache_data) down from 52 to 40 on IA32.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 12 Sep 2005 21:04:31 +0000 (21:04 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 12 Sep 2005 21:04:31 +0000 (21:04 +0000)
gpsbabel/defs.h

index 70429e4661db594a6cbd95d0e69f6f250426ea08..32a9935ac3aedacc3fa091ef6c8f4873fc48d5f1 100644 (file)
@@ -150,11 +150,11 @@ typedef struct {
 } utf_string;
 
 typedef struct {
-       geocache_type type;
-       geocache_container container;
        int id; /* The decimal cache number */
-       int diff; /* (multiplied by ten internally) */
-       int terr; /* (likewise) */
+       geocache_type type:5;
+       geocache_container container:4;
+       int diff:6; /* (multiplied by ten internally) */
+       int terr:6; /* (likewise) */
        time_t exported;
        time_t last_found;
        char *placer; /* Placer name */